package com.damie.web.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.damie.common.dao.Site;
import com.damie.web.vo.OrderDetails;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ls
 * @since 2021-01-18
 */
public interface SiteMapper extends BaseMapper<Site> {
    @Update("UPDATE t_site SET update_time=#{updateTime},site_status=#{siteStatus} WHERE site_id=#{siteId} AND site_status=0")
    int delete(Site site);
}
